Telegram Group & Telegram Channel
Какие типы можно использовать в предложении foreach?

Можно использовать типы, которые реализуют интерфейс IEnumerable или IEnumerable<T>.
Либо же к любым типам которые удовлетворяют следующим условиям:

• Включают открытый метод GetEnumerator без параметров с классом, структурой или тип интерфейсом в качестве возвращаемого значения;
• Тип возвращаемого значения метода GetEnumerator должен содержать открытое свойство Current и открытый метод MoveNext без параметров с типом возвращаемого значения Boolean.


Библиотека собеса по С#



tg-me.com/csharp_interview_lib/686
Create:
Last Update:

Какие типы можно использовать в предложении foreach?

Можно использовать типы, которые реализуют интерфейс IEnumerable или IEnumerable<T>.
Либо же к любым типам которые удовлетворяют следующим условиям:

• Включают открытый метод GetEnumerator без параметров с классом, структурой или тип интерфейсом в качестве возвращаемого значения;
• Тип возвращаемого значения метода GetEnumerator должен содержать открытое свойство Current и открытый метод MoveNext без параметров с типом возвращаемого значения Boolean.


Библиотека собеса по С#

BY Библиотека собеса по C# | вопросы с собеседований


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/csharp_interview_lib/686

View MORE
Open in Telegram


Библиотека собеса по C | вопросы с собеседований Telegram | DID YOU KNOW?

Date: |

Telegram Gives Up On Crypto Blockchain Project

Durov said on his Telegram channel today that the two and a half year blockchain and crypto project has been put to sleep. Ironically, after leaving Russia because the government wanted his encryption keys to his social media firm, Durov’s cryptocurrency idea lost steam because of a U.S. court. “The technology we created allowed for an open, free, decentralized exchange of value and ideas. TON had the potential to revolutionize how people store and transfer funds and information,” he wrote on his channel. “Unfortunately, a U.S. court stopped TON from happening.”

Unlimited members in Telegram group now

Telegram has made it easier for its users to communicate, as it has introduced a feature that allows more than 200,000 users in a group chat. However, if the users in a group chat move past 200,000, it changes into "Broadcast Group", but the feature comes with a restriction. Groups with close to 200k members can be converted to a Broadcast Group that allows unlimited members. Only admins can post in Broadcast Groups, but everyone can read along and participate in group Voice Chats," Telegram added.

Библиотека собеса по C | вопросы с собеседований from us


Telegram Библиотека собеса по C# | вопросы с собеседований
FROM USA